package com.xal.mapper;

import com.xal.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: MybatisSpriingBoot
 * @author: 邢奥林
 * @create: 2023-04-10 18:59
 **/
@Mapper
public interface StudentMapper {
    //查
    Student findById(Integer id);
    List<Student> findAll();
    //增
    int insert(Student student);
    //改
    int update(Student student);
    //删
    int delete (Integer id);
}
